<template>
	<view>
		<view class="smart-panel-h" @click="goDetailPage('uniAppModel1')"><text>1.UniApp模板语法</text></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goDetailPage(e){
				if(typeof e === 'string'){
					uni.navigateTo({
						url: '/pages/tabBar/grammar/' + e + '/' + e
					});
				}
				else{
					uni.navigateTo({
						url: e.url
					});
				}
			}
		}
	}
</script>

<style>

</style>
